home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / MACTR021.ZIP / install.cmd < prev    next >
Encoding:
Text File  |  1996-02-22  |  1.3 KB  |  48 lines

  1. /*
  2.  * MainActor/2 installation program, (c) 1996 by MainConcept, GbR
  3.  */
  4.  
  5. call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  6. call SysLoadFuncs
  7.  
  8. say "Creating MainActor/2 folder and objects on desktop ..."
  9.  
  10. current = directory()
  11.  
  12. /* Create MainActor/2 folder */
  13.  
  14. title="MainActor/2"
  15. classname='WPFOLDER'
  16. location='<WP_DESKTOP>'
  17. setup='OBJECTID=<MA/2_Folder>'
  18. result=SysCreateObject(classname,title,location,setup,replace)
  19.  
  20. /* Creating MainActor/2 object */
  21.  
  22. title = "MainActor/2"
  23. classname = 'WPProgram'
  24. location = '<MA/2_Folder>'
  25. setup = 'OBJECTID=<MA/2>;EXENAME='current'\MActr.EXE;STARTUPDIR='current
  26. result=SysCreateObject(classname,title,location,setup,replace)
  27.  
  28. /* Creating MainView/2 object */
  29.  
  30. title = "MainView/2"
  31. classname = 'WPProgram'
  32. location = '<MA/2_Folder>'
  33. setup = 'OBJECTID=<MAVIEW/2>;EXENAME='current'\mainview.exe;STARTUPDIR='current
  34. result=SysCreateObject(classname,title,location,setup,replace)
  35.  
  36. /* Create the ModulePath Entry in the User Ini */
  37.  
  38. SysIni('USER', 'MainView/2', 'ModulePath', current)
  39.  
  40. /* Creating MainActor/2 documentation object */
  41.  
  42. title = "MainActor/2 Documentation"
  43. classname = 'WPProgram'
  44. location = '<MA/2_Folder>'
  45. setup = 'OBJECTID=<MADOCU/2>;EXENAME=view.exe;PARAMETERS='current'\MActr.inf'
  46. result=SysCreateObject(classname,title,location,setup,replace)
  47.  
  48.